//package com.example.mybaties.controller;
//
////import com.example.mybaties.mapper.UserInfoMapper;
//import com.example.mybaties.model.UserInfo;
////import com.example.mybaties.service.UserService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.List;
//
//@RequestMapping("/user")
//@RestController
//public class UserController {
//
//    @Autowired
//    private UserService userService;
//    @RequestMapping("/queryUserInfos")
//    public List<UserInfo> queryUserInfos() {
////        System.out.println(userService);
//
//        return  userService.queryUserInfos();
//    }
//}
